package com.qf.service;

import com.qf.pojo.req.UserReq;
import com.qf.pojo.resp.BaseResp;
import com.qf.pojo.vo.Address;
import com.qf.pojo.vo.User;

import java.util.Map;

/**
 * @author mxsd
 */

public interface UserService {
    BaseResp login(UserReq userreq);

    BaseResp sendphone(String phone);
    BaseResp findone(String phone);

    BaseResp updateinformation(User user);

    BaseResp findAddress(Integer id);

    BaseResp addORupdate(Address address);

    BaseResp deleteAddess(Integer id);
}
